package com.leimo.demo;

import java.io.IOException;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@SpringBootApplication
public class ProviderApplication {

//  public static void main(String[] args) throws IOException {
//    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
//        new String[]{"classpath:spring/dubbo-provider.xml"});
//    context.start();
//    System.in.read(); // 按任意键退出
//  }
public static void main(String[] args) {
  SpringApplication.run(ProviderApplication.class, args);
}
}
